projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b25489
)
Fix crash in gtk_fixed_remove()
author
Vincent Untz
<vuntz@gnome.org>
Tue, 1 Feb 2011 19:01:49 +0000
(20:01 +0100)
committer
Vincent Untz
<vuntz@gnome.org>
Tue, 1 Feb 2011 19:08:52 +0000
(20:08 +0100)
b3f6f67c
changed the loop from while() to for(), but the line to move to
the next child was kept, so we could go past the end of the list.
https://bugzilla.gnome.org/show_bug.cgi?id=641176
gtk/gtkfixed.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfixed.c
b/gtk/gtkfixed.c
index e61f03a625595014624c58b3d2360ce61bc7b720..fd92cd7b2efa6a47c412b4adf33067c2d344707f 100644
(file)
--- a/
gtk/gtkfixed.c
+++ b/
gtk/gtkfixed.c
@@
-526,8
+526,6
@@
gtk_fixed_remove (GtkContainer *container,
break;
}
-
- children = children->next;
}
}